<template>
  <div class="dashboard-container">
    <h1>个人信息管理</h1>
    <div>
      <el-input placeholder="用户ID" v-model="userId1" clearable style="width: 200px;margin-left: 40px"/>
      <el-input placeholder="用户名称" v-model="userName1" clearable style="width: 200px;margin-left: 40px"/>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'User',
  computed: {
    ...mapGetters([
      'userId',
      'userName',
      'roleName'
    ])
  },
  // 存放页面参数
  data() {
    return {
      userId1: '',
      userName1: '',
      roleName1: ''
    }
  },
  // 页面初始化加载方法
  mounted() {

  },
  // 页面的方法和事件
  methods: {}
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }

  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>

